projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63e0d5
)
(concat): If Vnonascii_translation_table is non-nil, try
author
Kenichi Handa
<handa@m17n.org>
Mon, 31 Aug 1998 03:50:17 +0000
(
03:50
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 31 Aug 1998 03:50:17 +0000
(
03:50
+0000)
to convert a character less than 160 to multibyte.
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index a4a3fb882a98da4574a6eb4eac0add8a7fe4075a..f0a387ecd210ff2f285c2812e73ea5c832fabf31 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-709,7
+709,9
@@
concat (nargs, args, target_type, last_special)
else
{
XSETFASTINT (elt, XSTRING (this)->data[thisindex++]);
- if (some_multibyte && XINT (elt) >= 0200
+ if (some_multibyte
+ && (XINT (elt) >= 0240
+ || ! NILP (Vnonascii_translation_table))
&& XINT (elt) < 0400)
{
c = unibyte_char_to_multibyte (XINT (elt));